<template>
  <el-main class="main">
    <el-row :gutter="2">
      <el-col :span="16" v-on:click.native="SuppliesManager">
          <SuppliesAround/>
      </el-col >
      <el-col :span="8">
          <SuppliesDetail></SuppliesDetail>
      </el-col>
    </el-row>
  </el-main>
</template>

<script>
import SuppliesAround from "./SuppliesAround";
import SuppliesDetail from "./SuppliesDetail";
export default {
  name: "MaterialIndex",
  components: {SuppliesDetail, SuppliesAround},
  created() {
  },
  methods: {
    SuppliesManager() {
      this.$router.push('')
      var rowData = value.row
      this.sendMsgToDetail(rowData)
    },
    sendMsgToDetail(rowData){
      eventBus.$emit("getTableRowData", rowData)
    }
  }
}
</script>

<style scoped>

</style>
